<?php
require_once dirname(__FILE__) . '/../includes/common.inc.php';
require_once dirname(__FILE__) . '/../includes/pdoorm.inc.php';

header('Content-Type: text/plain');

$sql="
CREATE TABLE `ns_parcels` (
  `e_oid` int(12) NOT NULL AUTO_INCREMENT,
  `trackId` varchar(64) DEFAULT NULL,
  `createdDate` int(16) DEFAULT NULL,
  `account` varchar(64) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `num` int(11) DEFAULT NULL,
  `destination` varchar(255) DEFAULT NULL,
  `courier` varchar(128) DEFAULT NULL,
  `statues` char(1) DEFAULT 's',
  `raccount` varchar(64) DEFAULT NULL,
  `receivedDate` int(16) DEFAULT NULL,
  `branch` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`e_oid`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1
";

sql_execute($sql);

